package com.wk.springbootlearn.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("创建小组")
@Data
public class GroupForm {
    @ApiModelProperty(value = "小组名称", required = true)
    @NotNull(message = "小组名称不能为空")
    private String groupName;

    @ApiModelProperty(value = "团队id列表")
    private Long[] teamIdList;
}
